package com.xc.freeapp.service;

import java.util.List;
import java.util.Map;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.xc.freeapp.entity.Takemedic;

public interface TakemedicService {
	/**
	 * 备忘录
	 * @param userid
	 */
	 public  Map<String,Object>    getremindamount(String  userid);
	 /**
	  * 定时吃药列表查询
	  */
	 public   List<Takemedic>      gettakemediclist(String  userid,	PageBounds pageBounds);
	 /**
	  *定时吃药列表增加 
	  */
     public    int    inserttakemedic(Takemedic takemedic);
     /**
      * 定时吃药列表修改
      */
	 public    int    updatetakemedic(Takemedic takemedic);
	 /**
	  * 定时吃药列表根据id进行查询单个定时信息
	  */
	 public    Takemedic    gettakemedic(int  id);
	 /**
	  * 删除
	  */
	 public    int    deletetakemedic(String id);
}
